﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Services
{
	public interface IValidatorService
	{
		void Configure();
		void RegisterValidator<Model, ModelValidator>(string validatorName);
		List<Models.BrokenRule> Validate(object model);
		List<Models.BrokenRule> ValidateWith(object model, object validator);
	}
}
